﻿using System;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.Collections.Generic;
using System.Text;
using PadnugService;

namespace padnug
{
    [ServiceContract(Namespace = "")]
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class CalendarService
    {
        [OperationContract]
        public IList<DateTime> GetMeetingDates()
        {
            PadnugService.PadnugCalendarService svc = new PadnugCalendarService();
            return svc.GetAllEventDates();
        }

        // Add more operations here and mark them with [OperationContract]
    }
}
